<template>
  <el-container>
    <el-header class="auto"><goback :content="content"></goback></el-header>
    <el-main>
      <el-tabs type="border-card" v-model="tab">
        <el-tab-pane>
          <span slot="label" name="0">项目数据汇总</span>
          <summaryData></summaryData>
        </el-tab-pane>
        <el-tab-pane>
          <span slot="label" name="1">立项汇总</span>
          <summaryLx></summaryLx>
        </el-tab-pane>
      </el-tabs>
    </el-main>

  </el-container>
</template>

<script>
import goback from "../common/goback";
import summaryLx from "./children/summaryLx";
import summaryData from "./children/summaryData";
import {mapActions} from 'vuex'
export default {
  name: "tables",
  data(){
    return {
        content:"汇总",
        tab:'0'
    }
  },
  components:{goback,summaryLx,summaryData},
    methods: {
      ...mapActions("ProjectData",["getSummaryDataActions"]),
    },
    mounted() {
        this.getSummaryDataActions({page: 1,page_size: 10})
    }
}
</script>

<style scoped>

</style>




